import numpy as np


def liner(x, ceo):
    return ceo * x


def liner_latex(x, ceo):
    return f"{ceo}{x}"


def quad(x, ceo):
    return ceo * x ** 2


def quad_latex(x, ceo):
    return f"{ceo}{x}^{{2}}"


def cube(x, ceo):
    return ceo * x ** 3


def cube_latex(x, ceo):
    return f"{ceo}{x}^{{3}}"


def exponent(x, ceo):
    return np.exp(ceo * x)


def exponent_latex(x, ceo):
    return f"e^{{{ceo}{x}}}"


def exponent2(x, ceo):
    return np.exp(ceo / x)


def exponent2_latex(x, ceo):
    return f"e^{{{ceo}/{x}}}"


def power(x, ceo):
    return np.power(x,ceo)


def power_latex(x, ceo):
    return f"{x}^{{{ceo}}}"
